package com.txts.road.admin.fenceSys.domain;

import com.txts.road.admin.common.annotation.Excel;
import com.txts.road.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电子围栏信息对象 fence_info
 *
 * @author ruoyi
 * @date 2025-06-13
 */
public class FenceInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    @Excel(name = "")
    private Long fenceId;

    /** 围栏名称 */
    @Excel(name = "围栏名称")
    private String fenceName;

    /** 多边形坐标点，JSON数组 */
    @Excel(name = "多边形坐标点，JSON数组")
    private String polygonCoords;

    /** 0=禁用, 1=启用 */
    @Excel(name = "0=禁用, 1=启用")
    private Long status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String types;

    public void setFenceId(Long fenceId)
    {
        this.fenceId = fenceId;
    }

    public Long getFenceId()
    {
        return fenceId;
    }

    public void setFenceName(String fenceName)
    {
        this.fenceName = fenceName;
    }

    public String getFenceName()
    {
        return fenceName;
    }

    public void setPolygonCoords(String polygonCoords)
    {
        this.polygonCoords = polygonCoords;
    }

    public String getPolygonCoords()
    {
        return polygonCoords;
    }

    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public void setTypes(String types)
    {
        this.types = types;
    }

    public String getTypes()
    {
        return types;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("fenceId", getFenceId())
                .append("fenceName", getFenceName())
                .append("polygonCoords", getPolygonCoords())
                .append("status", getStatus())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("types", getTypes())
                .toString();
    }
}
